﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using AssetManageSystem.Model.AssetManage;


namespace AssetManageSystem.ViewModel.AssetManage.AssetInfoVMs
{
    public partial class AssetInfoTemplateVM : BaseTemplateVM
    {
        [Display(Name = "资产名称")]
        public ExcelPropety AsName_Excel = ExcelPropety.CreateProperty<AssetInfo>(x => x.AsName);
        [Display(Name = "资产编码")]
        public ExcelPropety AsCode_Excel = ExcelPropety.CreateProperty<AssetInfo>(x => x.AsCode);
        [Display(Name = "采购价格")]
        public ExcelPropety PurchasPrice_Excel = ExcelPropety.CreateProperty<AssetInfo>(x => x.PurchasPrice);
        [Display(Name = "详细信息")]
        public ExcelPropety Remarks_Excel = ExcelPropety.CreateProperty<AssetInfo>(x => x.Remarks);

	    protected override void InitVM()
        {
        }

    }

    public class AssetInfoImportVM : BaseImportVM<AssetInfoTemplateVM, AssetInfo>
    {

    }

}
